<?php

class Vehicle
{
	protected $wheels = 2;
	protected $colour = "black";
	protected $weight = 1000;
	
    public function toString()
    {
        echo "Wheels: $wheels, Color: $colour, Weight: $weight";
    }
}

class Car extends Vehicle
{
	private $wheels = 4;
	private $colour = "red";
	private $weight = 3000;
}

class Bus extends Vehicle
{
	private $wheels = 4;
	private $colour = "black";
	private $weight = 10000;
}

class Truck extends Vehicle
{
	private $wheels = 18
	private $colour = "Chrome";
	private $weight = 50000;
}

$car = new Car();

$car->toString();

$truck = new Car();

$truck->toString();

$bus = new Car();

$bus->toString();

?>